#!/bin/bash
###FOR###
count=1
for myarg in $@ 
do
	echo "FOR Day la tham so thu $count va co gia tri. : $myarg"
	count=$((count+1))
done
###WHILE NOT SHIFT###
count=1
while [ $count -lt $(($#+1)) ]; 
do
	echo "WHILE NOT SHIFT Day la tham so thu $count va co gia tri. : ${@:$count:1}" #hoac co' the? dung` ${*:$count:1}
	count=$((count+1))
done
###WHILE WITH SHIFT###
count=$#
while [ $# -gt 0 ]; 
do
	echo "WHILE WITH SHIFT Day la tham so thu $count va co gia tri. : $1"
	count=$((count-1))
	shift
done

